set up stack pointer at start