adding rust mode