This has been done for optimizations purpose