updated app with syntax changes