Proper use of resource