aspect ratio added as another parameter