updated function name to reflect behavior