updating to use the temp $ helper methods