Very early, WIP code for IC logic