added toArray with border
removed unneeded fill