legal pitfalls.