Worked on flip problem