Register method

Added register method