added process parents method to for readability