Completed val_type definition