making sound stream work (not entirely)