added interface and now button has functions