checks on registering