basic beeping functionality