Building efficient factory