added speaker hack code