cleanup + error checks