first prototype for client application