renamed variable
added record/playback for top level model