coins detection - working on