Returning empty array if input wasn't provided.