brining in printing functionality