Random useful tools