Sat add error checks