use array foreach, cleanup