created coin struct