working on functions for buttons on site and sidebar