Added debugging messages and proxys (not used)