taking out error