working on setting up server calls