Pass in inputs as const references