todo: receive info from server