added diagnostics to say the user type