Template is lined, registration is working