added at start function