add echo messages for debug purposes