logic last call sample