first version of media plugin design