Removed close Reference and cleaned up capture VI