Add Registration Function