adding support for x.show.y in new API