working error check
working errors