refactored number zero to servernum
refactored