added in line documentation