make buildMediaQuery private