typos and editing few variables