11 - example with custom task class definition