Molecular orbital study of internal rotation