loadapp must be figured out