added indexe to spaces