adds max capacity