working on associations and validation