Using !equals() instead of !=