vertical flip
changed var names