added working to remove the y term from the denominator
some stuff