Added toLowerCase() on period