First working pygd