fixed the input so that now i have an equals case and it works