created the button class, currently not working