added video functionlity