Helper functions for managing temporaries done
Helper functions done
Helper functions done