let build_users_array take an arg so we can use it in other methods