added more detailed logging of plans