Added generic function for SERVER array. Modified function names.