change dimensions to use .size*