some small fixes & it's working
removed some printlns