implemented data managment