added computational addition of c-beta atom in right position