use scanr instead of zipwith