added basic printing functions and settings