adding changes from class