Non-void function must return a value.
'register' is a keyword, probably, it's not the best name for a function parameter.