refactor sound