performed some housekeeping