added logical