added bonus "without consecutive ones" method