quick error check addition