added parameters to validation