main y pre-demo