updated basic demo