add remaining functions to sink (not sure about this though)