fixed accordion
finished hw4 pt 1