start of code for testing without esb