high court upheld the valid