added a draw and delete data