added some functions for terminal to show off