trying and failing to pass data between add item and canvas