first implementation (yet dummy) of fitting