Compiler not wanting to work with the string, use a var