Working dragon code again