Write your own task functionality