registration prototype