unit testing. still trying to figure this out.