add some methods to Request