implement API stub, #4