quite a bit of ios work. not done yet