add startup routine