added simple sam parser