implement simple remote code exec