Spring simulation working