initial button logics