playback functionality working on it (still has a bug when stoping the playback)