pulling stuff from Frederik