fixes #31

registration now takes first and last