added better logging. added the guts of get_fattime back in.