added logical constant functions.