Moved onThink to the bottom