deleted implementation of logbutton