add platform method to client