responsive version for hw4