Factory example added