Taking care of local variables