simplified coin - removed name attribute and coin factory methods, no need for them