add ifgram and dummy demo