array functions added