share instances via pointer declaration