finish controller