add support for different views