making sure we have duration variable for bots