removed unused func, converted to dot notation