still not working
add median for now