Did I classify this sentence correctly?

The (A) birds (SN)/ in (P) the (A) tree (OP) sang (V) happily (adv) during (P) the (A) day (OP).

Yes! :-)