remove local var from end of method