Working with most error checks