working main.hjs