runs code in RequestScope without request