changed int to float number
Added sample in index file