parameter here is supposed to be a boolean