added takeaway parser