using "!=" has its risks (type coercion) so i changed them to the more appropriate "!=="