Refined and cleaned code