Finished initial analysis routines