Variable before comparing value?