adding media key support