if EP is given, ignore everything rest