Sample code for spring study