basic setup registerTask