modified theme code