made sensor factory check to see if sensor of given type has been made already before making new one