Fix passing in startpoint as function.