code for ninja done