all function ok, except beep()