added aspect ratio option