second commit: flip view. to do: measure time