simple compare is really faster than look up tables :(