creation of profile class