Part two of building APIs