use array for interfaces