small changes to cubic