refined tutorial part 1