added helper functions to array