add golden master test
add legendary item check
slight refactor