middle of assigning class to ordered list element