Added team func