changing lower() call to the constructor