[#4] add Team logic