handle Error also added