fixed issues with prettyPrint() and added a new access plan