added comments, and iOS prompt