fixed free agents for postgres
multithreading
fixed problem with array by converting to hash
fixed hash problem