don't you need to add dir and trace here too?