Beginning to implement 3-D logic.