added comments, changed tabwidth