bring add instance function to index page