modified to save only hour offset