first version of spring working