updated main demo