printing funcs added