override buttons method