added some functions for presentation