slight change on calling setup function