removed final from private static int maxResults