Register function now working