set up matrix and playa