Let me know if any questions, I really just combined two examples but they are well commented.