implemented var types and operators