added comment blocks to functions
changed to right author mail address