removed array to interface function