add screencast function