removed unused funciotn
print fixes