sample parsing