added coin collection and respawning