working autloader registration