A FORTRAN 77 computer program has been written to aid with macromolecular modeling and drug design. Called WHAT IF, it provides an intelligent and flexible environment for displaying, manipulating, and analyzing small molecules, proteins, nucleic acids, and their interactions. A relational protein structure database is incorporated to be queried. The program is suitable for most common crystallographic work. The menu-driven operation of WHAT IF, combined with the use of default values wherever user input is required, makes it very easy to use for a novice user while keeping full flexibility for more sophisticated studies. Although there are not too many unique features in WHAT IF, the fact that everything is integrated in one program makes it a unique tool for many purposes.