completed minimal demo