Why is the staticmode stuff removed here?