added registration flag