moved non-variables outside parse method