use const for toast length