separated printing of abundances into function. will probably need to redo