Simplified recieve all funtion and revamped the save function