updated load functions and back button