replace autogen with main proj demo