max removed from input