using updated library with request data functionality