reverting it all because pagination and nesting dont work :(