Studies of protein folding pathways