add iteration and classes