move common commands to helpers