Added convenence dimensions function