taner, just for interest, what do you propose doing with the entity list when you have it. I'd like to make you aware that the entitys do not reside in the block reference, but in the block definition in the block table. I haven't had a good look at the code Alan referenced, but I'm sure you'll see from that what I mean.