edited parse and snapfragment