implemented a spinning coin