Add implementation of COF