code samples for uint 9