working on view recorder