added __isset to application