adding spring force with method in Spring