added spring, added parameters