added Integral Image
fields made public