changing statuses appropriately