added the retrieve from server method. Not et functional, but does not break the code