algorithm moved to the reducer
algorithm somehow not working, time to sleep