clean up startRecord fn
Merge pull request #17 from mpizza/cleanup_startRecord_fn

clean up startRecord fn