Separate logic in asemblies