trying to add print functionality