Starting subroutines for extractions