Building a profit and loss statement