Changing the loadcontent fucntion