change services to array