outlined analysis routine pretty well