add castra as dep