rewrote simple template component to also have a simple implementation