Trying to figure out how CSP works