added pagination
added formular