Grammar errors and identation fixed