method with display