rm metadata and added documentation