trying to add the mean time determination for offsets together with the offsets itself, but does not work yet.
wip
moved times calculation ahead of offset calculation and found out that I have to use apply for single value returns