adding basic media support