allow the use of inline templates as well