uses right index
fixed formatting some padding