started to add object functionality for clean rows method