add function to clean object
execute function as member is posible