switched to using blade templates