working on random machine display