Removed aspectRatio variable