add support for dock