completed code documentation