iostream proof of concept/prototype