changed methods for accessing complete and remoteId