methods added
fixed iteration