removing func pointer