Is there any better alternative to make it work faster?