paste handler