Cleaned up tip of the day code