using beg instead of request