demo file for server side