fix some throws and ans keyword now added