Fixed order functions, now returns array or empty array on failure