added the ability to add apps to the array