updated visualization to add redundancy for ease of interpretation
Added input verification