new way to use buttons