added switch, ignore alpha zeros