1. cluster seems to have a memory leak, put DESTROY functions in where