gather initial data