switching to optional imports