adding in the ability to get access to custom vars