added req handler