Proper remote api implementation