Now able to set gender and prune routines