changed interface to use less memory, hence less gc time