modefied vtc_apple.v