implemented string errors