add dimension and resource functions