trying to compile demo for inclass 2