It would help if you compared strings using .equals() instead of ==