added logging ability. incremented version