How can I do the same Where is the code placed?