add view engine support