implemented like a fruit ninja