Use more suitable data structure