added new version of coin toss