created a subclass for one line button