add kernel density stuff from macbook