added homework "functionality"