change var names for up and down classes