errrors resolved