first simulation attempt