make addbtn & createbtn separate