preparing to add functions on buttons