document more functinos