Please advise whether it is correct to write the following sentence: After decorating the cake, I took it to the dining room.