add support for current()