updated Demo to take in precision arguements