updated button class

incomplete button class