updated clearing to mobile-first and added new variables