implemented some javadoc comments and setChords()