move dimensions parameter into model