added last-child to main