Profile of mainmethod