started code to set reminder automatically instead of user manually having to do it