passed max method