first list of both works

seems to something wrong with reduce function