correct location for code
validation