added feilds and created the start of a catch error system