added dim and cross