got readonly template working