added var() back to the api