Unsolve
register function should take registration param