register from theme