improvements in sample file