Modeling the spring