substitute autoapply fully implemented