move class service as parameters