Now detects peaks