Added apater configuration and poniter variable