added basic recording