improved comments; removed redundant code