fixed the % issue and removed some printlns