explicit types in sample