Equiv core written, needs debug