Way too much indentation.  This might not be the best method.