moved coin object instantiation.