options type and dimension are now being passed into options