added all necessary variables