Add doc and updated some functions