edited help and added error code for doctor