ids are finally obtained from server