need help with the last condition in my code pls help