fix cow codes + cleanup
BUG: loner int