you just need to take a bit of his examples and translate that into your own way of coding.