refactor. adding new media