added clipboard pb functionality