remove main and comment unnecessary prints