still bugs in simulation