adding ratio plot ability