basic spring working