add pointing functionality