setup controller arguments, init code