declares inside for block