recording functionality hooked up