point simulation working