combine variables declaration to top