sandwich code done