change to static in index