add apd to be able to override functions