added simple registration