implement new Back-end error checking