add process method
added spec to client