removed next and prev