Edited blog code