No error but logic not working