Creating add tricks function