added max slides