added create dimension functionality