added some simple tools