receiving vars from server