updated main to use last change