preparing for unit testing