useful util functions I've collected