Added inline docs