use an each block instead of a for loop -- this is ruby