started error logging
cleanup