Attempt 2 at usertype checker