updated todo
changed code signature to work with ipad mini