since im terrible with naming, rename method and add flag