add extra hooks