move lines below required declaration