added return true input value test