more devmode stuff