start adding media functionality