improved the packman and wrote a comment