Function prologue and epilogue, first approach