trying to fix trade assignment