added print set functionality