finalizing Models