more error handling for temp