source added

first version, locally tested