changed some words and fixed bug