refactor live interface

if (workout)
{
  throw...
}

note the space between "if ("