API part 1