pagination and options added