don't know what CosinePeople class is, but I fixed a small error in it