added flipping and copy to clipboard