added function prototype for CHECK_isInUse