FAR homework question help!

Lyle, Inc. is preparing its financial statements for the year ended December 31, Year 1. Accounts payable amounted to $360,000 before any necessary year-end adjustment related to the following: At December 31, Year 1, Lyle has a $50,000 debit balance in its accounts payable to Ross, a supplier, resulting from a $50,000 advance payment for goods to be manufactured to Lyle's specifications. Checks in the amount of $100,000 were written to vendors and recorded on December 29, Year 1. The checks were mailed on January 5, Year 2. What amount should Lyle report as accounts payable in its December 31, Year 1, balance sheet? The explanation is Unadjusted accounts payable at 12/31/Year 1 $ 360,000 Reverse debit balance and record as a prepaid (asset) 50,000 Reverse unmailed checks 100,000 Adjusted accounts payable at 12/31/Year 1 $ 510,000 My question is , why are we adding 50,000 and 100,000 to A/P? my answer was subtracting those, and my answer was 210,000. Anyone can ring a bell?