got the relate and generate mixed up.