the comments in this code are worthless