print is working, there are still few problems