add logic to control so only one date per day but it can be updated add pry