removed superflous empty list pattern