Added defenitions for ampty spaces, changed initilization