Basic code pulled together for playback.