add code for using action-server instead of service