Handle-face-ups coded.

The code reads right, but is not tested yet. The previous code is commented out so it can be switched to for testing other functions.