Adding some useful tools