added new btn logic