added possiblity of having several applications