removed regexp from variables. changed input to array method - family - fixed uppercase concat. simplified a few variables.