added finish resource