make task lookup a method