write some stupid code for client