less mem usage, works