Initial set up for error structure