added design from hw4