wokring on flip for items in detail