added comments
reorganizing