fixing up print and fixing minor bug, sleep time