Skeleton reactor code