getValue() is executed 3 times -> create a variable for it