made the dispose clearer