Rewrote functions for IC 13, 14, deleted first implementations