updates to blast function