worked on lobby mode