Changing code to Post. Array index stuff.