replace struct using class
add mediaplayer