added coin and trainder