Blue Devil updated code