getting closer now, but need to get around multiple calls to a function at once.