nit: the function should have another name