adding media corner functions