utility scripts to manipulate different data