pick first element out of applications array