add maximum team and member check