Added a hook for someway to analyze the data