removed unused comments and commented out code
updated the api to how `parameters` work
updated dist