Factor out whiskers and memory