updated for registration