add support for viewlet