declared all necessary variables