better comment; removed a few print statements