working with a few errors