made coin class