fixed distribution bug via reOrder, removed comments