added new error check
added isx