add dimension and weight