added note indicating client code was borrowed from eebae server code'