use prebuilt templates when defining views