Added function fit module