better check against array