function fixes
days work