Code for my mobile development class