adding support for multiple sinks