Introduced middleware method