hint and cleanup