code from pdf, profiles