more comments and debug statements