Reimplemented cover to not use g2
Reimplemented fit to not use g2