first version of a working proxy