Made input random or given