address lydias comments and errors