modify startlogic