added goto
adding variable declarations