created stock lag method