spec data stub acording to data type