removed comments in the code which could fall out of date with the api