Shake-and-bake is an automatic procedure for phase determination developed for large molecules. The procedure is based on a minimal function which is optimized through alternate cycles of reciprocal space phase refinement and real-space filtering. The shake-and-bake technique has now been used to determine the structures of several small proteins.