nit pick: can we keep the nested function name camel cased here?