added wireframes and coin flip function