preparation for client programm