fix comment and delete unnecessary method