Added a few utility functions