adding queries to media controller