added process wrapper