server-client architecture with previous program