Why are you calling another function to test true/false?