Trying array of longs instead of pointers