base64 encoding
complete renaming of incoming -> input