Includes length in validation method