add template hopefully this wont' crash