remove unnecessary method & only set non-final fields