smooth working solution for n length incoming read