improved comments and presentation