added bens changes
fixed small errors