fixed - use of this instead of parameter in each