part 1 working locally