Changed stack from int32 to pointer