adding code for vcr