added clipboard functionality