added sample handling and sounds