add middleware support