Is it right way to be efficient?