Initial table generating working