first implemention of dual buttons