adding proxy functionality