it was like some secret code ; a song would end and another would begin , dancers streaming off the floor while others replaced them , choosing their places in line , leaving her with the impression that the whole thing had been choreographed in advance .