Plugin tutorial part 1 revised.