add queue implemented by array after compilation