reduce dumy code