Also note that those two conditions will never both be true at the same time, so you should be using || (or) not && (and).