Working on AP implementation.