added some cool printing functions