added get_last_stag