accept type as parameter to resolve pilot/live confusion

resolves #298