in a random manner; "the houses were randomly scattered"; "bullets were fired into the crowd at random"
without care; in a slapdash manner; "the Prime Minister was wearing a gray suit and a white shirt with a soft collar, but his neck had become thinner and the collar stood away from it as if it had been bought haphazard"