added header and comments on params