* Added function to save resolution