Adding skeleton for Optimized solution