made parameters case-insensitive