implemented a few changes as per suggestions from Chris Kollas. will
await feedback before continuing.