Code snippet controlsystem