updated to strict comparison