Function Control of Points code