now evaluates if temp is a sting or not and can return none