adding code for creating investigator