Changed parameter name to make it more general