Added my 2nd attempt at takeaway