added changes and a class