trying to work the bugs out