added errrors