Handle template & post result

sadly there's one failing test