removed flipdemo stuff