added Pswt method for Spring