new utils functions