in middle of adding registration functionality