added some comments and started setting up base for line length limiting